const GCmd = {
    C2S: {
        USER_LOGIN: "user_login",
        GET_USER_INFO: "get_user_info",
        GET_USER_INFOS: "get_user_infos",
        GET_TABLE_LIST: "get_table_list",
        QUICK_PLAY: "quick_play",
        TAKE_TABLE: "take_table",
        LEAVE_TABLE: "leave_table",
        HIT_BALL: "hit_ball",
        HIT_BALL_COMPLETE: "hit_ball_complete",
        ADJUST_CUE: "adjust_cue",
        SEARCH_RIVAL: "search_rival",
        SEARCH_RIVAL_CANCEL: "search_rival_cancel",
    },
    S2C: {
        USER_COMES_TO_TABLE_PUSH: "user_comes_to_table_push",
        USER_DATA_CHANGED_PUSH:"user_data_changed_push",
        USER_LEAVES_FROM_TABLE_PUSH: "user_leaves_from_table_push",
        TABLE_DATA_CHANGED_PUSH: "table_data_changed_push",
        TABLE_DISMISS_PUSH: "table_dismiss_push",
        HIT_BALL_PUSH: "hit_ball_push",
        HIT_BALL_COMPLETE_PUSH: "hit_ball_complete_push",
        ADJUST_CUE_PUSH: "adjust_cue_push",
        GAME_BEGIN_PUSH: "game_begin_push",
        GAME_OVER_PUSH: "game_over_push"
    },
}
export default GCmd;